tests([
    [0, 0],
    [1.2, 1],
    [1.0, 0],
    [1.234, 3],
    [-1.2, 1]
]);
